package code.part09_Lambda.P01_why2;


import code.part09_Lambda.P01_why.Student;

/**
 * @author: ZJT
 * @Time: 2021/8/2
 * @Description: 实现接口的不同类
 */
public class ScoreFilter implements StudentFilter {

    @Override
    public boolean compare(Student student) {
        return student.getScore()>75;
    }
}
